import React, {Component} from 'react';
import {BrowserRouter as Router, Route} from 'react-router-dom';
import Login from './Login';
import CollegeRole from './CollegeRole';
import ApplicationManage from './ApplicationManage';
import App from './App';

class RouterApp extends Component {
    render() {
        return (
            <Router>
                <Route path="/" component={App} exact />
                <Route path="/Login" component={Login} />
                <Route path="/ApplicationManage" component={ApplicationManage} exact />
                <Route path="/ApplicationManage/CollegeRole" component={CollegeRole} />
            </Router>
        );
    }
}

export default RouterApp;
